
const houses = {
    namespaced: true,
    state: {
        housesTitle: '',
        addForm: {
            id: '',
            buildingid: '',
            building:'',
            houseno: "",
            areas: '',
            type: "",
            orientation: ""
        }
    },
    mutations: {
        SET_TITLE(state, val) {
            state.housesTitle = val
        },
        SET_ADDFORM(state, val) {
            console.log(state,val)
            state.addForm = val
            console.log(state.addForm)
        }
        
    }
}

export default houses